package com.hanbang.chu_xing_gao_zhao.entity;

import java.io.Serializable;

import com.hanbang.cxgz_2.R;

/**
 * dynamic view item data
 * 
 * @author yang
 * 
 */
public class DynamicData implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// private int imageId;
	// private String name;
	// private String time;
	// private String phone;
	// private String group;
	// private String describe;
	// private String addressed;
	// private String transmit;// 转发
	// private String information;
	// private String praise;// 赞

	private int row_number;
	private int id;
	private int uid;
	/** 描述 */
	private String text;
	/** 发布时间 */
	private String add_time;
	/** 分享数 */
	private int sharecount;
	/** 位置 */
	private String position;
	/** 手机型号 */
	private String phone;
	/** 转发 */
	private int feedcount;
	/** 组人数 */
	private int friendcount;
	/** 组Id */
	private int group_id;
	/** 评论 */
	private int commentcount;
	/** 赞 */
	private int likecount;
	/** 是否关注 0表示没有关注 */
	private int follow;
	/** 名字 */
	private String user_name;
	/** 头像 */
	private String avatar;
	/** 是不VIP */
	private boolean is_vip;
	/** 等级 */
	private int grade;

	public DynamicData() {
		super();
		// TODO Auto-generated constructor stub
	}

	// (new DynamicData(R.drawable.temp_ym, "樱林花道", "5小时前", "中国手机", "1000",
	// "我做的菜很好吃的，大家过来尝一尝",
	// " 日本东京", "1111", "1000", "1110"));

	public DynamicData(String avatar, boolean is_vip, String user_name, String add_time, String phone, int friendcount,
			String text, String position, int feedcount, int commentcount, int likecount,int follow) {
		super();
		this.text = text;
		this.add_time = add_time;
		this.position = position;
		this.phone = phone;
		this.feedcount = feedcount;
		this.friendcount = friendcount;
		this.commentcount = commentcount;
		this.likecount = likecount;
		this.user_name = user_name;
		this.avatar = avatar;
		this.is_vip = is_vip;
		this.follow=follow;
	}

	public int getRow_number() {
		return row_number;
	}

	public void setRow_number(int row_number) {
		this.row_number = row_number;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getAdd_time() {
		return add_time;
	}

	public void setAdd_time(String add_time) {
		this.add_time = add_time;
	}

	public int getSharecount() {
		return sharecount;
	}

	public void setSharecount(int sharecount) {
		this.sharecount = sharecount;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getFeedcount() {
		return feedcount;
	}

	public void setFeedcount(int feedcount) {
		this.feedcount = feedcount;
	}

	public int getFriendcount() {
		return friendcount;
	}

	public void setFriendcount(int friendcount) {
		this.friendcount = friendcount;
	}

	public int getGroup_id() {
		return group_id;
	}

	public void setGroup_id(int group_id) {
		this.group_id = group_id;
	}

	public int getCommentcount() {
		return commentcount;
	}

	public void setCommentcount(int commentcount) {
		this.commentcount = commentcount;
	}

	public int getLikecount() {
		return likecount;
	}

	public void setLikecount(int likecount) {
		this.likecount = likecount;
	}

	public int getFollow() {
		return follow;
	}

	public void setFollow(int follow) {
		this.follow = follow;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public boolean isIs_vip() {
		return is_vip;
	}

	public void setIs_vip(boolean is_vip) {
		this.is_vip = is_vip;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	@Override
	public String toString() {
		return "DynamicData [row_number=" + row_number + ", id=" + id + ", uid=" + uid + ", text=" + text
				+ ", add_time=" + add_time + ", sharecount=" + sharecount + ", position=" + position + ", phone="
				+ phone + ", feedcount=" + feedcount + ", friendcount=" + friendcount + ", group_id=" + group_id
				+ ", commentcount=" + commentcount + ", likecount=" + likecount + ", follow=" + follow + ", user_name="
				+ user_name + ", avatar=" + avatar + ", is_vip=" + is_vip + ", grade=" + grade + "]";
	}

}
